﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CtrAllBA.ascx.cs" Inherits="WebUserControl_CtrAllBA" %>
<%@ Register src="uscTitleForm.ascx" tagname="uscTitleForm" tagprefix="uc1" %>
<style type="text/css">
    .style1
    {
        width: 100%;
    }
</style>
<script type="text/javascript">
     function pageLoad() {
      $("#<%= bt_baocao.ClientID %>").click(function() { 
        $.blockUI({
             message: '<h1>Xin vui lòng chờ xử lý</h1>', 
            css: { 
            border: 'none', 
            padding: '15px', 
            backgroundColor: '#f00', 
            opacity: .5, 
            color: '#fff' 
        } }); 
        }); 
       
       
        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
                function EndRequestHandler(sender, args) {
                        $.unblockUI();
                }
        }  
   
</script> 
<table class="style1">
    <tr>
        <td>
            <uc1:uscTitleForm ID="uscTitleForm1" runat="server" 
                Messeage="Báo cao danh Sách tư vấn viên" />
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td align="center">
            <asp:Label ID="Label1" runat="server" Text="Từ ngày"></asp:Label>
            <asp:TextBox ID="tb_tungay" runat="server" 
                style="margin-left: 17px; margin-right: 18px"></asp:TextBox>
            <asp:Label ID="Label2" runat="server" Text="Đến ngày"></asp:Label>
            <asp:TextBox ID="tb_denngay" runat="server" style="margin-left: 23px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td align="center">
            <asp:Button ID="bt_baocao" runat="server" Text="Báo cáo" 
                onclick="bt_baocao_Click" />
        </td>
    </tr>
</table>
